Fix the unpause_basic test. The console will appear to have failed, given the
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 26 Nov 2005 01:13:51 +0000 (01:13 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 26 Nov 2005 01:13:51 +0000 (01:13 +0000)
commitf5553a774c8304e150f5b8892d09be69ead38872
tree0a88057b0aa0c579ae4d707eb5b9bcda3a2071cc
parent37e9f9f3b5e302236aaf8b23d5cc1ce20eee40f6
Fix the unpause_basic test.  The console will appear to have failed, given the
current Console.py API, because no bytes have come from it, but that's not a
failure -- an unpaused domain has no reason to output any more data.  We need
to send a command to the domain before we can be sure whether it is alive or
dead, so move the FAIL call, allowing the console connection to throw
ConsoleError.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/xm-test/tests/unpause/01_unpause_basic_pos.py